package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 厂商管理
 * @Author: jeecg-boot
 * @Date: 2024-07-12
 * @Version: V1.0
 */
@ApiModel(value = "manufacturer对象", description = "厂商管理")
@Data
@TableName("manufacturer")
public class Manufacturer implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**
     * 厂商名称
     */
    @Excel(name = "厂商名称", width = 15)
    @ApiModelProperty(value = "厂商名称")
    private java.lang.String manufacturerName;
    /**
     * 厂商编码
     */
    @Excel(name = "厂商编码", width = 15)
    @ApiModelProperty(value = "厂商编码")
    private java.lang.String manufacturerCode;
    /**
     * 单位地址
     */
    @Excel(name = "单位地址", width = 15)
    @ApiModelProperty(value = "单位地址")
    private java.lang.String address;
    /**
     * 医疗机构
     */
    @Excel(name = "医疗机构", width = 15)
    @ApiModelProperty(value = "医疗机构")
    private java.lang.String orgcode;

    @Excel(name = "医疗机构名称列表", width = 30)
    @ApiModelProperty(value = "医疗机构名称列表")
    @TableField(exist = false)
    private String orgNames;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;
}
